package simpleTaskDispatcher.model.tasks;

import simpleTaskDispatcher.model.TaskQueue;
import simpleTaskDispatcher.model.Worker;


public interface ITask {

	String getContextID();
	
	void loadContext(Worker w);
	
	void execute() throws InterruptedException;
	
	String getUniqueID();
	
	float getWorkValue();
	
	void setTaskQueue(TaskQueue queue);
	
	void setWorker(Worker worker);
	
	boolean isExecuted();
	
	void markExecuted();
	
}
